package org.wu.framework.bean;

import org.wu.framework.bean.factory.BeanContext;

/**
 * Spring的ApplicationContext的持有者，可以用静态方法的方式获取spring容器中的bean
 * @see  org.wu.framework.spring.utils.SpringContextHolder
 */
@Deprecated
public class SpringContextHolder {


    public static <T> T getBean(Class<T> requiredType) {
        return BeanContext.getBean(requiredType);
    }


}